package com.css.openapi.BO;

import com.css.common.core.annotation.ValiDateFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * <p>
 * 订单通用明细表
 * </p>
 *
 * @author qinxb
 * @since 2024-09-06 02:26:11
 */
@Data
public class TcckzxxVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "入场时间不能为空")
    @ValiDateFormat(message = "入场时间格式错误")
    @ApiModelProperty("入场时间yyyy-MM-dd HH:mm:ss")
    @JsonProperty(value = "entryTime")
    private String entryTime;

    @NotBlank(message = "出场时间不能为空")
    @ValiDateFormat(message = "出场时间格式错误")
    @ApiModelProperty("出场时间yyyy-MM-dd HH:mm:ss")
    @JsonProperty(value = "exitTime")
    private String exitTime;

    @NotBlank(message = "不动产地址不能为空")
    @ApiModelProperty("不动产地址")
    @JsonProperty(value = "bdcdz")
    private String bdcdz;

    @Pattern(regexp = "[YN]",message = "跨地市标志不合法")
    @ApiModelProperty("跨地市标志 默认N")
    @JsonProperty(value = "kdsbz")
    private String kdsbz = "N";

    @NotBlank(message = "车牌号码不能为空")
    @ApiModelProperty("车牌号码")
    @JsonProperty(value = "licensePlateNumber")
    private String licensePlateNumber;

    @NotNull(message = "停车时长不能为空")
    @ApiModelProperty("停车时长 单位分钟")
    @JsonProperty(value = "parkingDuration")
    private Integer parkingDuration;

    @ApiModelProperty("省份代码 京")
    @JsonProperty(value = "provinceCode")
    private String provinceCode;


}
